Repository navigation
Integrate OncoRef target_selection policy and Hitlist 2.1.24 cta_policy (v3.62.0) - #896
Merged
Merged
Conversation
iskandr
force-pushed
the
feat/oncoref-target-selection-895
branch
from
November 21, 2026 01:05
0cac02a to
9a04ea5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #895
Summary
cta_target_policy(sequence_bundle,target_selection,target_selection_cancer_antigens) toEpitopeConfig, CLI (--cta-target-policy), andvaxrank.cta_targeting(defaulting tosequence_bundlewhen unset for backwards compatibility).target_selectionpolicies:Unsafe(unsafe_reference) andOther:*(blocked_target_selection, recording OncoRefclassificationanddecision_reasoningene_identity), distinguishes confirmedCTAfromCancer Antigen only, and rescues newly-qualified CTAs (e.g.MAGEC2,CSAG1) using their verifiedrepresentative_sequence_sha256sinsequence_bundle.apply_cta_targeting) appliestarget_selectionroles (Unsafe -> exclude, allowed target categories ->allow,Other/ non-targets ->review), hard-excluding peptides contained in newly-Unsafeproteins.cta_target_policyconsistency across combined CTA datasets.hitlist>=2.1.24(#852):manifest['expression']['cta_policy']agreement withtarget_selectionadmission inload_hitlist_bundle.hitlist_policy_unsafe_match,hitlist_policy_categories, andhitlist_avoid_reasonsinhitlist_annotationswhen present in the bundle'speptides.parquet.OncoRef target classcleanly inantigen_biologyand distinguishCancer Antigen onlyfrom confirmedCTAinantigen_source_label; omitblocked_target_selectionbackground rows from appendix tables.3.60.8.Testing
ruff check vaxrank tests— passed.pytest tests/test_cta_targeting.py tests/test_hitlist_evidence.py tests/test_cta_input.py tests/test_cta_manifest.py tests/test_osteosarc_selection.py tests/test_input_coverage.py tests/test_cli_errors.py tests/test_construct_replay.py tests/test_ms_evidence.py— 231 passed.